﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace DFGK_WMS.Model.Models
{
    /// <summary>
    /// 数据字典
    /// </summary>
    [Table("T_DictType")]
    public class DictType:BaseEntity
    {
        /// <summary>
        /// 类型编码
        /// </summary>
        [MaxLength(50)]
        public string TypeCode { get; set; }
        /// <summary>
        /// 类型名称
        /// </summary>
        [MaxLength(20)]
        public string TypeName { get; set; }
        /// <summary>
        /// 是否树形结构
        /// </summary>
        public bool IsTree { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        [MaxLength(50)]
        public string Remark { get; set; }
        /// <summary>
        /// 排序号
        /// </summary>
        public int DisplayOrder { get; set; }
    }
}
